home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / python-twisted-conch.postinst < prev    next >
Text File  |  2009-10-05  |  747b  |  30 lines

  1. #! /bin/sh
  2.  
  3. set -e
  4.  
  5. # Automatically added by dh_installmenu
  6. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  7.     update-menus
  8. fi
  9. # End automatically added section
  10. # Automatically added by dh_pycentral
  11. rm -f /var/lib/pycentral/python-twisted-conch.pkgremove
  12. if which pycentral >/dev/null 2>&1; then
  13.     pycentral pkginstall python-twisted-conch
  14.     if grep -qs '^python-twisted-conch$' /var/lib/pycentral/delayed-pkgs; then
  15.         sed -i '/^python-twisted-conch$/d' /var/lib/pycentral/delayed-pkgs
  16.     fi
  17. fi
  18. # End automatically added section
  19.  
  20.  
  21. case "$1" in
  22.     configure)
  23.     for p in $(pyversions -i); do
  24.         $p -c 'from twisted.plugin import IPlugin, getPlugins; list(getPlugins(IPlugin))' >/dev/null 2>&1 || true
  25.     done
  26.     ;;
  27. esac
  28.  
  29. exit 0
  30.